<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人信息页</title>
<link rel="stylesheet" href="./bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./css/base.css">
<script src='./js/jquery.js'></script>
<script src='./bootstrap/js/bootstrap.js'></script>
</head>
<style>
.bg {
	width: 100vw;
	min-height: 100vh;
	background: url('') no-repeat;
	background-size: 100%;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100vw;
	padding: 25px 25px 0;
	box-sizing: border-box;
}

.main {
	width: 500px;
	margin: 0 auto;
}

.btn-group {
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.login-btn {
	width: 120px;
	margin: 20px auto 0;
	display: block;
}
</style>
<body>
	<div class="content">
		<div class="bg">
			<header>
				<img class="logo" src='./img/logo.png' alt=''> <a
					href="./alogin.jsp" class="login-out">退出登录</a>
			</header>
			<div class="main">

				<table class='table'>
					<tr>
						<td>买家编号</td>
						<td>买家用户名</td>
						<td>买家密码</td>
						<td>买家手机号</td>
					</tr>
					<!-- EL表达式 -->
					<c:forEach items="${buyers }" var="buyer">
						<tr>
							<td>${buyer.buy_id}</td>
							<td>${buyer.buy_name}</td>
							<td>${buyer.buy_pwd}</td>
							<td>${buyer.buy_phone}</td>
							
						</tr>
					</c:forEach>

				</table>
				<div class='btn-group'>
					<button type="button" class="btn btn-primary login-btn"
						onclick="login()">修改</button>
				</div>
			</div>
		</div>
	</div>
</body>
</html>